﻿using System.ComponentModel.DataAnnotations;

namespace MS.BasicData.Domain.Rabbit
{
    /// <summary>
    /// 产品信息表
    /// </summary>
    public class Product : BaseField
    {
        /// <summary>
        /// 产品主键Id
        /// </summary>
        [Key]
        public int ProductId { get; set; }
        /// <summary>
        /// 产品名称Id
        /// </summary>
        public int ProductNameId { get; set; }
        /// <summary>
        /// 生产批次
        /// </summary>
        public string Production { get; set; } = string.Empty;
        /// <summary>
        /// 保质期
        /// </summary>
        public int Shelflife { get; set; }
        /// <summary>
        /// 生产许可证
        /// </summary>
        public string Ionlicense { get; set; } = string.Empty;
        /// <summary>
        /// 生产企业
        /// </summary>
        public string Enterprise { get; set; } = string.Empty;
        /// <summary>
        /// 封面图片
        /// </summary>
        public string CoverImage { get; set; } = string.Empty;

    }
}
